using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace Pbdms.UserControls
{
    public partial class FileInfoControl : UserControl
    {
        public event EventHandler LinkLabelClicked;
        public FileInfoControl()
        {
            InitializeComponent();
        }

        private void linkRemove_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            if (LinkLabelClicked != null)
            {
                LinkLabelClicked(this, EventArgs.Empty);
            }
        }
        public void setFileName(string name)
        {
            this.lblFileName.Text = name;
        }
        public void setSize(string size)
        {
            this.lblFileName.Text = this.lblFileName.Text + "(" + size + ")";
        }
    }
}